package com.qingxin.ui.bean;

import org.codehaus.jackson.map.annotate.JsonSerialize;

@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class UICenterTabNode {

	protected String id;
	protected String name;
	protected String code;
	protected String title;
	protected String type;
	protected String url;
	protected String icon;
	protected String reload;
	protected String uiparam;
	protected String dynamic;
	
	
	public UICenterTabNode() {
	}
	
	
	
	public UICenterTabNode(String id, String name, String code, String title,
			String type, String url, String icon, String reload, String uiparam, String dynamic) {
		this.id = id;
		this.name = name;
		this.code = code;
		this.title = title;
		this.type = type;
		this.url = url;
		this.icon = icon;
		this.reload = reload;
		this.uiparam = uiparam;
		this.dynamic = dynamic;
	}



	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		if(code!=null){
			this.code = code.toUpperCase();
		}else{
			this.code = null;
		}
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getReload() {
		return reload;
	}
	public void setReload(String reload) {
		this.reload = reload;
	}
	public String getUiparam() {
		return uiparam;
	}
	public void setUiparam(String uiparam) {
		this.uiparam = uiparam;
	}
	public String getDynamic() {
		return dynamic;
	}
	public void setDynamic(String dynamic) {
		this.dynamic = dynamic;
	}
	
}
